﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02DivideByFiveAndSeven
{
    class _02DivideByFiveAndSeven
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter an integer to check if it can be divided by five and seven without a remainder :");
            
            int a = int.Parse(Console.ReadLine());
            
            bool divideByFive = a % 5 == 0;
            
            bool divideBySeven = a % 7 == 0;
            
            bool check = divideByFive && divideBySeven;
            
            Console.WriteLine( check ? "No remainder when dividing by 5 and 7." : "There is a remaider when dividing by 5 and 7." );
        }
    }
}
